package com.ngc.mall.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("member_level")
public class MemberLevelDomain {
 private Long id;
 private String name;

 private String img;

 private Boolean isEnabled;

 private String sign;

 private BigDecimal amount;

 @TableField(fill = FieldFill.INSERT_UPDATE)
 private LocalDateTime updateTime;

 @TableLogic
 private Boolean deleted;
}
